package juc;

/**
 * Created with IDEA
 * author:ju bai
 * Date:2021/5/30
 * Time:15:30
 * 栈--先进后出
 **/
public class JVM {
    public static void main(String[] args) {
        //System.out.println(System.getProperty("myParam"));

        System.out.println("执行了main方法");
        methodA();

    }

    private static void methodA(){
        System.out.println("执行了methodA");
        methodB();
    }

    private static void methodB(){
        System.out.println("执行了methodB");
        methodC();
    }

    private static void methodC(){
        System.out.println("执行了methodC");
    }

}
